package com.hnevc.shl;

public class Example02 {
    public static void main(String[] args) {

    }
}
class Animal{

    final String name="狗";



  public void shout(){
        System.out.println("动物发出叫声~~~");
    }
}

class Dog extends Animal{
    @Override
    public void shout() {
        super.shout();
    }
}